/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package infoplaces2;

import java.awt.image.RenderedImage;
import java.util.ArrayList;

/**
 *
 * @author Andre Alvarado
 */
public class BiplanarPanoramicView extends PanoramicImage {
    
//    BiplanarPanoramicView(left: RenderedImage, rigth: RenderedImage)
//    BiplanarPanoramicView(source: PanoramicImage)
//    fetch(x: double, y: double, z: double): RGBColor
//    fetch(azimuth: double, zenith: double): RGBColor
            
    public BiplanarPanoramicView(RenderedImage left, RenderedImage right) {
        super(makeImageArray(left, right));
    }
    
    public BiplanarPanoramicView(PanoramicImage source) {
        super(makeImageArray(source));
    }
    
    private static ArrayList<RenderedImage> makeImageArray(RenderedImage left, RenderedImage right) {
        ArrayList<RenderedImage> result = new ArrayList<>();
        result.add(left);
        result.add(right);
        
        return result;
    }

    private static ArrayList<RenderedImage> makeImageArray(PanoramicImage source) {
        /*
        RenderedImage left = null; //new BufferedImage(...);
        //TODO Calcular left a partir de source.
        
        RenderedImage right = null; //new BufferedImage(...);
        //TODO Calcular right a partir de source.

        return makeImageArray(left, right);
        */
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int fetch(double x, double y, double z) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int fetch(double azimuth, double zenith) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
